package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Created by chengjiarui on 2019-06-27.
 */
@Data
@ApiModel
public class BannerResponse {

    @ApiModelProperty("banner分页列表")
    private List<Banner> banners;

    @Data
    @ApiModel
    @Builder
    public static class Banner {
        @ApiModelProperty("ID")
        private Integer id;
        @ApiModelProperty("企业ID")
        private Integer companyId;
        @ApiModelProperty("企业名称")
        private String companyName;
        @ApiModelProperty("资源路径")
        private String source;
        @ApiModelProperty("资源类型：0 图片")
        private Integer type;
        @ApiModelProperty("事件：0 无 1 商品详情")
        private Integer event;
        @ApiModelProperty("事件参数")
        private String eventId;
        @ApiModelProperty("事件参数名称")
        private String eventIdName;
        private String memo;
        @ApiModelProperty("排序")
        private Integer sort;
        private Integer refId;
    }
}
